package com.yanfei.zero.domain.user.repository;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.session.ResultHandler;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yanfei.zero.domain.user.model.User1;
@Mapper
public interface User1Mapper extends BaseMapper<User1> {
//    @Select("select * from user1")
//    @Options(resultSetType = ResultSetType.FORWARD_ONLY, fetchSize = Integer.MAX_VALUE)
//    @ResultType(User1.class)
	void streamQuery(ResultHandler<User1> handler);
	
	List<User1>selectAll(Map<String,Object> par);
	
}
